// 购物车相关api
// 获取分类
async function shoppingCartList(storeId) {
	return await uni.$request.post('/miniProgram/shoppingCartList', {
		storeId:storeId
	});
}
// 添加购物车
async function addShoppingCart(data){
	return await uni.$request.post('/miniProgram/addShoppingCart', data);
}
// 编辑购物车
async function editShoppingCart(data) {
	return await uni.$request.post('/miniProgram/editShoppingCart', data);
}
// 删除购物车
async function delShoppingCart(ids) {
	return await uni.$request.post('/miniProgram/delShoppingCart', {
		'idList': ids
	});
}
export {
	addShoppingCart,
	shoppingCartList,
	editShoppingCart,
	delShoppingCart
};